package com.yanchangapp.model.bean;

import java.io.Serializable;

/**
 * Created by apple on 2019-08-07.
 * description: 品种提取的数据Bean
 */
public class ProductExtractBean  implements Serializable {
        /**
         * id : fb6b61423d344d0699c20ae725f43a1e
         * invoiceNo : CGHT201906180002
         * purorderId :
         * covenant : 一、医疗器械质量符合国家医疗器械标准和有关质量要求
         二、包装符合有关规定和货物运输要求
         三、整件医疗器械附产品合格证
         四、进口医疗器械必须提供符合规定的证明文件
         五、交货方式：送货/自提
         六、售后服务：
         七、违约责任：
         八、交货时间：
         九、对医疗器械的质量提出异议期限为医疗器械到货7天内
         十、结算方式及期限：
         十一、本合同经双方签字或盖章后生效，本合同一式两份双方各执一份，若发生争议双方协商处理。
         * totalMoney : 99
         * contractTime : 2019-06-18 00:00:00
         * bizenterpriseId : null
         * purName : 中健之康供应链服务有限责任公司
         * purBank : 建行白下支行
         * purBankno : 32001595636052507013
         * purSign :
         * purSignDate : 2019-06-18 00:00:00
         * supplycoId : 7134edaf767a4de4bcdbcb0af126ad4b
         * supName : 徐州迈诺隆医疗器械商行
         * supBank : 中国农业银行股份有限公司睢宁双沟支行
         * supBankno : 10250701040004137
         * supSign :
         * supSignDate : 2019-06-18 00:00:00
         * checkState : 2
         * sort : 1
         * inUse : 0
         * invoiceId : 0b46b3f0032e4b8894d2c057c0ba8e04
         * contractDetailList : null
         * createBy : ef2119abc7e7437cbfd1cfe2f87dc9c9
         * createDate : 2019-06-18 15:24:26
         * updateBy : ef2119abc7e7437cbfd1cfe2f87dc9c9
         * updateDate : 2019-06-18 15:24:28
         * remarks :
         * delFlag : 0
         * products : null
         * examines : null
         * startTime : null
         * endTime : null
         * tolMoney : null
         * productName : 紫杉醇释放冠脉球囊导管Drug Eluting PTCA Balloon Catheter
         * productFormat : 5022243
         * productNo : CP201905170116
         * productId : 3acd90c2367a424baa9239cddd145c61
         * purNum : 1
         * createName : null
         * notOrderNum : 1
         * price : 33
         * status : null
         * statusName : null
         * manufacturer : B. Braun Melsungen AG
         * flag : null
         * contractDtlId : 8b1f8beeb3f741e4bc07345d30b81a31
         * registratNo : 国械注进20173771633
         * registratNoName : 注册证号
         */
        // 唯一表示ID
        private String productId;
        // 商品名
        private String productName;
        // 价格
        private double price;
        // 规格型号
        private String productFormat;
        // 生产厂家
        private String manufacturer;
        // 是否被选中
        private boolean isChecked;

        private Integer notOrderNum;

        private String registratNoName;

        private String registratNo;

        private String productNo;

        private int selectSize = 1;

        private boolean isExpand;

    public ProductExtractBean() {
    }

    // 必然是已经选中了的
        public ProductExtractBean(String productId,
                                  String productName,
                                  double price,
                                  String productFormat,
                                  String manufacturer,
                                  Integer notOrderNum,
                                  String registratNoName,
                                  String registratNo,
                                  String productNo,
                                  int selectSize) {
            this.productId = productId;
            this.productName = productName;
            this.price = price;
            this.productFormat = productFormat;
            this.manufacturer = manufacturer;
            this.notOrderNum = notOrderNum;
            this.registratNoName = registratNoName;
            this.registratNo = registratNo;
            this.productNo = productNo;
            this.selectSize = selectSize;
            this.isChecked = true;
        }

    public boolean isExpand() {
        return isExpand;
    }

    public void setExpand(boolean expand) {
        isExpand = expand;
    }

    public int getSelectSize() {
        return selectSize;
    }

    public void setSelectSize(int selectSize) {
        this.selectSize = selectSize;
    }

    public String getRegistratNoName() {
        return registratNoName;
    }

    public void setRegistratNoName(String registratNoName) {
        this.registratNoName = registratNoName;
    }

    public String getRegistratNo() {
        return registratNo;
    }

    public void setRegistratNo(String registratNo) {
        this.registratNo = registratNo;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public Integer getNotOrderNum() {
        return notOrderNum;
    }

    public void setNotOrderNum(Integer notOrderNum) {
        this.notOrderNum = notOrderNum;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String id) {
        this.productId = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getProductFormat() {
        return productFormat;
    }

    public void setProductFormat(String productFormat) {
        this.productFormat = productFormat;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public boolean isChecked() {
        return isChecked;
    }

    public void setChecked(boolean checked) {
        isChecked = checked;
    }
}
